package cn.itcast.user.service;

import cn.itcast.user.mapper.cMapper;
import cn.itcast.user.pojo.course;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class cService {

    @Autowired
    private cMapper c;
    public List<course> getListCourse(int kid){

        return c.findBylist(kid);
    }
//    public List<course> getListCourse(int kid,int size){
//
//        return c.findBylist(kid,size);
//    }
}
